//
//  BMWCache.h
//  GTMC_CarOwner_Yonyou
//
//  Created by mac on 16/8/27.
//  Copyright © 2016年 wangbing. All rights reserved.
//

#import <Foundation/Foundation.h>
#define kCarseries  @"carseries"
@interface ICreamCache : NSObject{
    dispatch_queue_t _cmQueue;
    NSMutableDictionary     *_cacheDictionary;
}
@property(nonatomic,copy)NSString *cachePath;

@property(nonatomic,copy)NSString *seriesCode;
@property(nonatomic,copy)NSString *carName;

+(instancetype)sharedInstance;

- (NSString *)stringForKey:(NSString *)key;
- (void)saveString:(NSString *)string forKey:(NSString *)key;
-(NSArray *)arrayForKey:(NSString *)key;
- (void)saveArray:(NSArray *)array forKey:(NSString *)key;

- (void)removeDataForKey:(NSString *)key;
- (void)saveArrayInGloable:(NSArray *)array forKey:(NSString *)key;

@end
